package com.qianfeng.Event;

/*
 *@Description:
 *@author:刘哥
 *@Date:86180 2022/9/13 19:57
 */
public class DeviceStatusEvent {
    private String deviceId;
    private Status status;

    public DeviceStatusEvent(String deviceId, Status status) {
        this.deviceId = deviceId;
        this.status = status;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    public  static enum Status {
        ONLINE,OFFLINE;
    }
}
